package com.chixing.day09_innerclass.study.innerclass;

public class StudentTest {
    public static void main(String[] args) {
        Student student = new Student();
        student.stuAge = 20;
        student.study();
        Student.XX xx = student.new XX();
        Outer outer = new Outer();
        //通过对象访问内部类
        Outer.Inner inner = outer.new Inner();
        //通过对象访问static修饰的内部类
        Outer.Inner2 inner2 = new Outer.Inner2();
    }
}
